package ace.module.oss.core.impl.dao.repository;


import ace.cmp.spring.data.jdbc.querydsl.core.repository.QuerydslJdbcBaseRepository;
import ace.module.oss.core.impl.constant.OssCoreConstant;
import ace.module.oss.core.impl.constant.OssCoreConstants;
import ace.module.oss.core.impl.dao.entity.OssApplicationSupplier;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.springframework.stereotype.Repository;

/**
 * Oss应用供应商 repository.
 *
 * @author Caspar
 */
@DS(OssCoreConstant.DEFAULT_DATA_SOURCE_NAME)
@Repository
public interface OssApplicationSupplierRepository extends QuerydslJdbcBaseRepository<OssApplicationSupplier, Long> {

  OssApplicationSupplier getByOssAppIdAndDeleteFlagIs(Long ossAppId, Long deleteFlag);
}
